package com.chrissy.music.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chrissy.music.common.entity.SysRole;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 角色信息表 Mapper 接口
 * </p>
 *
 * @author Johnson
 * @since 2024-01-27
 */
@Mapper
@Repository
public interface SysRoleMapper extends BaseMapper<SysRole> {

    List<SysRole> selectRolePermissionByUserId(Long userId);
}
